<div class="search-tool">
  <form class="search-form">
    <mat-form-field class="search-full-width">
      <input
        matInput
        placeholder="搜索的相册名称"
        [(ngModel)]="keyword"
        name="keyword"
      />
      <button
        mat-button
        *ngIf="keyword"
        matSuffix
        mat-icon-button
        aria-label="Clear"
        (click)="keyword = ''"
      >
        <mat-icon>close</mat-icon>
      </button>
    </mat-form-field>
  </form>
  <div class="btn-list">
    <button
      mat-raised-button
      color="primary"
      (click)="closePanel()"
      [color]="theme"
    >
      关闭
    </button>
    <button
      mat-raised-button
      color="primary"
      (click)="doSearch()"
      [color]="theme"
    >
      搜索
    </button>
  </div>
</div>
